﻿using System;

namespace Sustainalytics.DataLayer.Exceptions.AccountsAndUsers
{
    public class UserNotFoundException : Exception
    {
        public Guid UserId { get; private set; }

        public UserNotFoundException(string message, Guid userId)
            : base(message)
        {
            UserId = userId;
        }

        public UserNotFoundException(string message, Exception innerException, Guid userId) :
            base(message, innerException)
        {
            UserId = userId;
        }
    }
}
